package edu.buaa.act.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by T7810 on 2017/4/10.
 */
public class Query
{
    private long departureTimestamp;
    private List<Integer> roadIdList = new ArrayList<Integer>();

    public Query(List<Integer> path, long departureTime)
    {
        this.departureTimestamp = departureTime;
        this.roadIdList = path;
    }

    public long getDepartureTimestamp()
    {
        return departureTimestamp;
    }

    public void setDepartureTimestamp(long departureTimestamp)
    {
        this.departureTimestamp = departureTimestamp;
    }

    public List<Integer> getRoadIdList()
    {
        return roadIdList;
    }

    public void appendRoadId(int roadId)
    {
        this.roadIdList.add(roadId);
    }
}
